package org.firebug.spring.boot.mybatis.repository.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.firebug.spring.boot.mybatis.repository.entity.UserEntity;

@Mapper
public interface UserMapper {
    @Select("select * from t_user where id=#{id}")
    UserEntity queryById(@Param("id") Integer id);

    UserEntity selectById(Integer id);
}